import request from "@/utils/request";

export default {
  saveRoleMenu(rolemenus) {
    return request({
      url: `/roleMenu/${rolemenus.id}`,
      method: "post",
      data: rolemenus.menuIds,
    });
  },

  getRoleMenu(id) {
    return request({
      url: `/roleMenu/${id}`,
      method: "get",
    });
  },
};
